 
 
     <?php if (validation_errors()): ?>
        <div class="error">
            <?php echo validation_errors();?>
        </div>        
    <?php endif; ?>
     <div  class="onecolumn-title">Add User</div>
    <div class="clear"></div>
    <div id="login-section">
        <?php echo form_open('add_user/create')?>
        <div class="login-text"> <label for="user_email">Email <span>*</span></label> </div>
        <div class="login-input"><input id="user_email" name="user_email" value="" type="text" />  </div>
        <div class="clear"></div>
        <div class="login-text"><label for="user_password">Password <span>*</span></label></div>
        <div class="login-input"><input id="user_password" name="user_password" value="" type="password" /> </div>
        <div class="clear"></div>
        <div class="login-text"> <label for="user_name">Name <span>*</span></label></div>
        <div class="login-input"><input id="user_name" name="user_name" value="" type="text" /> </div>
        <div class="clear"></div>
        <div class="login-text"> <label for="user_category">User Category </label></div> 
        <div class="login-input"><select id="user_category_id" name="user_category_id" >
                        <?php foreach($user_category as $category):?>
                        <option id="user_category_id" id="user_category_id" value="<?php echo $category->user_category_id;?>"><?php echo $category->user_category_name;?></option>
                        <?php endforeach;?>
                        
             </select>
        </div>
        <div class="clear"></div>
        <div class="login-text"> <label for="organisation_name">Organisation Name </label> </div>
        <div class="login-input"><input id="organisation_name" name="organisation_name" value="" type="text" /></div>
        <div class="clear"></div>
        <div class="login-text"><label for="user_address">Address </label></div>
        <div class="login-input"><textarea   id="user_address" name="user_address"></textarea></div>
        <div class="clear"></div>
        <div class="login-text"><label for="user_phone">Phone </label> </div>
        <div class="login-input"> <input id="user_phone" name="user_phone" value="" type="text" /></div>
        <div class="clear"></div>
         <div class="login-text"></div>
        <div  class="log-button">
            <button  class="submitBtn"  title="Create user" type="submit"><span>Create User</span></button>
            <button  class="resetBtn" onclick="window.location.replace('http://localhost/ship/shiporder/home')" title="Cancel" type="button"><span>Cancel</span></button>
        </div>
        </form>
    </div>